package cn.liumouren.jzxd.service;

import cn.liumouren.jzxd.common.utils.PageUtils;
import cn.liumouren.jzxd.entity.Scene;
import cn.liumouren.jzxd.entity.Zone;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author Freeman Liu
 * @email llw599502537@gmail.com
 * @date 2020-10-30 16:28:21
 */
public interface SceneService extends IService<Scene> {

    PageUtils queryPage(Map<String, Object> params);

    IPage<Scene> getSceneByTagIds(List<String> tagIds, int cur, int size);

    IPage<Scene> pageQueryByColumn(Map<String, Integer> map, int cur, int size);

    IPage<Scene> queryPageByKey(String key, int cur, int size);

    List<Scene> listIdAndName();

    List<Scene> listPageIdAndName(Integer cur, Integer size);

}

